﻿
<%@ Page Title="" Language="C#" MasterPageFile="~/WebServisArayuz.Master" AutoEventWireup="true" CodeBehind="HaberYonetim.aspx.cs" Inherits="TakbisBilgiSorgu_v1.HaberYonetim" EnableEventValidation="false"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div class="sayfa_adi">Yönetici Haber Sayfası</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
     <asp:GridView ID="gvDuyuru" CssClass="grids" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CellPadding="3" OnPageIndexChanging="gvDuyuru_PageIndexChanging" OnSelectedIndexChanged="gvDuyuru_SelectedIndexChanged"
                    DataKeyNames="ID" OnRowDataBound="gvDuyuru_RowDataBound" OnRowCreated="gvDuyuru_RowCreated">
                    <Columns>
                        <asp:CommandField HeaderText=" Seçim " ShowSelectButton="True" SelectText="Seç " Visible="False" />
                        <asp:BoundField DataField="Baslik" HeaderText="Başlık" />
                        <asp:BoundField DataField="Icerik" HeaderText="İçerik" />
                        <asp:BoundField DataField="AktifMi" HeaderText="Aktif Mi" />
                        <asp:BoundField DataField="KayitTarih" HeaderText="Kayıt Tarih" />
                    </Columns>
                    <FooterStyle CssClass="gridsFooter" />
                    <HeaderStyle CssClass="gridsHeader" />
                    <PagerStyle CssClass="gridsPager" />
                    <RowStyle CssClass="gridsTextColor" />
                    <SelectedRowStyle CssClass="selectedRows" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#007DBB" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#00547E" />
                </asp:GridView>
<br />
<table id="haberYonetim" style="width: 100%" cellspacing="0" cellpadding="0">
				<tr>
								<td>HABER BAŞLIK</td>
								<td>:</td>
								<td><asp:TextBox ID="txthaberBaslik" runat="server" Height="25px" Width="699px"></asp:TextBox></td>
				</tr>
				<tr>
								<td>HABER İÇERİK</td>
								<td>:</td>
								<td><asp:TextBox ID="txthaberIcerik" runat="server" Height="110px" TextMode="MultiLine" Width="700px"></asp:TextBox></td>
				</tr>
                <tr>
								<td>AKTİF/PASİF</td>
								<td>:</td>
                                <td><asp:DropDownList ID="ddlAktifMi" runat="server" TabIndex="10" class="textboxs"  Width="200px">
                    <asp:ListItem Value="sec">Seçiniz..</asp:ListItem>
                    <asp:ListItem Value="1">Aktif</asp:ListItem>
                    <asp:ListItem Value="2">Pasif</asp:ListItem>
                </asp:DropDownList></td>
    			<tr>
								<td></td>
								<td></td>
								<td>
                <asp:Button ID="btnHaberEkle" runat="server" Text="Ekle" class="butons ekleico" 
                    Width="170px" OnClick="btnHaberEkle_Click" />
                <asp:Button ID="btnhaberGuncelle" runat="server" class="butons guncelleico" Text="Güncelle"
                    Width="170px" OnClick="btnhaberGuncelle_Click" />
                <asp:Button ID="btnhaberKaydet" runat="server" class="butons kaydetico" Text="Kaydet"
                    Width="170px" OnClick="btnhaberKaydet_Click" /></td>
				</tr>
</table>
          
    </form>
</asp:Content>
